# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauiman
pkgver=3.0.1
pkgrel=1
pkgdesc='Maui Manager Library. Server and public library API.'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(qt5-systems)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('f8de2ac407f42ea5874a5518cca6c823f29633511c7692146d91f568c1dacf5b')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
